//
//  UIViewController+MyViewController.m
//  XinLiJianKangJiaoYu
//
//  Created by 李文强 on 2018/12/6.
//  Copyright © 2018 sijiaokeji. All rights reserved.
//

#import "UIViewController+MyViewController.h"
#import <objc/runtime.h>

static NSString *nameKey = @"nameKey";

@implementation UIViewController (MyViewController)
- (void)viewDidLoad{
    [self initSubView];
    [self initOption];
    [self layout];
}
//- (void)setBaseView:(UIView *)baseView{
//    objc_setAssociatedObject(self, &nameKey, baseView, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
//}
//- (UIView *)baseView {
//    return objc_getAssociatedObject(self, &nameKey);
//}
- (void)initSubView{
//    self.baseView = [[UIView alloc]init];
//    self.baseView.backgroundColor = [UIColor redColor];
//    self.baseView.frame = CGRectMake(80, 0, APP_WIDTH-80, APP_HEIGHT);
//    [self.view addSubview:self.baseView];
}
- (void)initOption{
    
}
-(void)layout{
    
}
@end
